angular.module('agendana')
.controller('PacienteFormularioCtrl',['$scope','ajaxManager',function($scope,ajaxManager) {
    $scope.submit = function() {
        if (!form.$invalid) {
            ajaxManager.ajax_post($scope,ajax_urls.CREAR_PACIENTE,$scope.paciente);
        }
      };
}]);